#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include"stock00.h"

int main(void)
{
	Stock bank;
	bank.acquire("Bank", 5, 16);
	bank.show();
	std::cout << '\n';
	bank.buy(5, 17);
	bank.show();
	std::cout << '\n';
	bank.sell(16,24);
	bank.show();
	std::cout << '\n';
	bank.sell(5, 14);
	bank.show();
	std::cout << '\n';
	bank.update(24);
	bank.show();
	return 0;
}